CellProperties Class

Represents formatting properties for cells.

Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public class CellProperties
Inheritance
Object    CellProperties

Constructors

CellProperties Initializes a new instance of the CellProperties class.

Properties

BackgroundColor Specifies the background color for cell.
BackgroundFill Specifies a fill as the background of the cell.
BackgroundImage Specifies the background image of the cell.
Border Specifies the border for cell.
BorderLineWidth Specifies the widths of borders.
BottomBorder Specifies the top border for cell.
BottomBorderLineWidth Specifies the bottom widths of borders.
BottomMargin Specifies the bottom margin.
BottomPadding Specifies the bottom padding.
CellProtect Specifies how a cell is protected.
DecimalPlaces Specifies the maximum number of decimal places that are displayed if numbers are formatted by a data style that has no setting for number of decimal places itself.
Direction Specifies the direction of characters.
EnableWrap If wrapping is disabled, it is implementation defined whether the clipped text is visible or hidden. If the text is hidden consumers may support a scrolling mechanism to access the text.
LeftBorder Specifies the left border for cell.
LeftBorderLineWidth Specifies the left widths of borders.
LeftMargin Specifies the left margin.
LeftPadding Specifies the left padding.
Margin Specifies the margin.
Padding Specifies the padding.
PrintContent Specifies if content is printed.
RepeatContent Specifies whether text content of a cell is displayed as many times as there is space left in the cell's writing direction.
RightBorder Specifies the right border for cell.
RightBorderLineWidth Specifies the right widths of borders.
RightMargin Specifies the right margin.
RightPadding Specifies the right padding.
RotationAlignment Specifies how the edge of the text in a cell is aligned after a rotation.
RotationAngle Specifies the rotation angle of content.
Shadow Specifies the shadow of the cell.
ShrinkToFit Specifies whether content is reduced in size to fit within a cell or drawing object.
TextAlignmentSource Specifies the source of a text-align attribute.
TopBorder Specifies the left border for cell.
TopBorderLineWidth Specifies the top widths of borders.
TopMargin Specifies the top margin.
TopPadding Specifies the top padding.
VerticalAlignment Specifies how to vertically align a line that is less than 100% of its height within the columned area.
VerticalGlyphOrientation Specifies the vertical glyph orientation.
WritingMode Specifies the writing mode for an element.

Methods

Clone Creates a new object that is a deep copy of the current instance.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Converts the value of the current CellProperties object to its equivalent string representation.
(Overrides ObjectToString)

See Also